package cn.kinoko.mapper.manga;

import cn.kinoko.model.manga.entity.MangaMetrics;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author kinoko
 */
@Mapper
public interface MangaMetricsMapper extends BaseMapper<MangaMetrics> {

    /**
     * 获取点赞数量
     * @param mangaId 漫画id
     * @return 点赞数量
     */
    Long getLikeCount(Long mangaId);

}